// 添加混入：删除按钮校验的函数：
export const checkPermission = {
  methods: {
    checkPermission(pointName) {
      return this.$store.state.user.userInfo.roles.points.indexOf(pointName) > -1
    }
  }
}
